package com.logic.landseaserver.service;


import java.util.List;

import com.logic.common.exception.BusinessException;
import com.logic.common.service.ICRUDService;
import com.logic.landseaserver.common.exception.LandseaException;
import com.logic.landseaserver.ws.dto.CheckFeeListDTO;
import com.logic.landseaserver.ws.response.CheckFeeOutResp;

/**
 * @Author: jack
 * @Date: 2017/6/16
 * @Description: 交割单接口类
 */
public interface ICheckFeeListService extends ICRUDService{

	int insertCheckFeeList(CheckFeeListDTO checkFeeListDTO) throws BusinessException;

	void editCheckFeeList(CheckFeeListDTO checkFeeListDTO) throws BusinessException;
	
	void deleteCheckFeeList(Integer id) throws BusinessException;
	
	CheckFeeListDTO getCheckFeeListDitail(Integer contractId);

	CheckFeeOutResp queryEndAndLastFees(Integer contractId) throws LandseaException;

	//A合同退房交割单同步到B合同入住单
	void synFeeList(Integer contractId) throws LandseaException;

	void sysFeeListToExpenses(Integer contractId,Integer checkType);

	void deleteSysFeeListToExpenses(Integer contractId,Integer checkType);
	
//	//根据入住日取出电表量
//	CheckFeeListDTO getConsumptionEnd(Date start) ;

}
